package com.songjiasong.util;

public class DateUtil {
	public static CharSequence getDate(int year, int monthOfYear,
				int dayOfMonth){
		monthOfYear = monthOfYear+1;
		CharSequence date = "";
		CharSequence day = ""+dayOfMonth;
		if(dayOfMonth < 10){
			day = "0" + day;
		}
		if(monthOfYear < 10){
			date = year + "/" + 0 + monthOfYear + "/" +day;
		}else{
			date = year + "/" + monthOfYear + "/" +day;
		}
		
		return date;
	}
}
